package com.api.user.vo;

import com.api.user.model.PointsTransaction;

import java.io.Serializable;
import java.math.BigDecimal;

public class PointsTransactionVo  implements Serializable {
    private String prefix;

    private Long transaction;

    /**
     * 交易时间
     */
    private Long transactionTime;

    /**
     * 关联订单
     */
    private Long orderId;

    /**
     * 1会员资格充值（+）2任务已完成（+）3加入快速挑战（-）4。参加比赛（-）5在兑换中心兑换（-）6加入预测并获胜（-）
     */
    private Integer transactionType;

    /**
     * 增加的用户
     */
    private Long userId;

    /**
     * 交易的积分
     */
    private BigDecimal pointAmount;

    /**
     * 备注
     */
    private String remark;

    /**
     * 交易前的积分
     */
    private BigDecimal pointBefore;

    /**
     * 交易后的积分
     */
    private BigDecimal pointAfter;

    /**
     * 交易后的积分
     */
    private String createUser;


    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public Long getTransaction() {
        return transaction;
    }

    public void setTransaction(Long transaction) {
        this.transaction = transaction;
    }

    public Long getTransactionTime() {
        return transactionTime;
    }

    public void setTransactionTime(Long transactionTime) {
        this.transactionTime = transactionTime;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(Integer transactionType) {
        this.transactionType = transactionType;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public BigDecimal getPointAmount() {
        return pointAmount;
    }

    public void setPointAmount(BigDecimal pointAmount) {
        this.pointAmount = pointAmount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public BigDecimal getPointBefore() {
        return pointBefore;
    }

    public void setPointBefore(BigDecimal pointBefore) {
        this.pointBefore = pointBefore;
    }

    public BigDecimal getPointAfter() {
        return pointAfter;
    }

    public void setPointAfter(BigDecimal pointAfter) {
        this.pointAfter = pointAfter;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
}
